package org.hrds.rdupm.harbor.domain.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.google.gson.annotations.SerializedName;

/**
 * description
 *
 * @author mofei.li@hand-china.com 2020/03/17 15:23
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class User {

	@SerializedName("user_id")
	private Long userId;

	private String username;

	private String email;

	private String password;

	private String realname;

	public User() {
	}

	public User(String username, String email, String password, String realname) {
		this.username = username;
		this.password = password;
		this.email = email;
		this.realname = realname;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}
}

